﻿namespace My.Hydrator.Helpers
{
    using System.Collections.Generic;

    public static class SessionHelper
    {
        private const string ContainerName = "__Container";

        private static readonly IDictionary<string, object> Session = new Dictionary<string, object>();

        public static Container Container
        {
            get
            {
                return Session[ContainerName] as Container;
            }

            set
            {
                Session[ContainerName] = value;
            }
        }
    }
}
